
package character_6;


public class Magician extends Role{
    
    @Override
    public void fight(){
        System.out.println("魔法攻击");
    }
    
    public void cure(){
        System.out.println("魔法治疗");
    }
    
    @Override
    public String toString(){
        return "魔法师  " + super.toString();
        //return String.format("魔法师 （%s,%d,%d）", this.name,this.level,this.blood);
    }
}
